//
//  BaseAction.h
//
//
//  Created by gynjobs on 2017/8/14.
//  Copyright © 2017年 gynjobs. All rights reserved.
//

#import <Foundation/Foundation.h>


typedef  void(^ActionCallBack)(id error_msg);
typedef void(^ActionCallBackExtend)(id error_msg,id data);

@interface BaseAction : NSObject
-(id)getErrorMsg:(NSError*)error;


+ (BOOL)isLogin;
+ (BOOL)isLoginNav;
- (BOOL)isLoginWithController:(UIViewController *)controller;

@end
